import request from '@/utils/request.js'

const prevUrl = '/device/';

export default {

    // 查询
    list() {
        return request({
            url: `${prevUrl}list`,
            method: 'get'
        })
    },
    // 保存
    save(data) {
        return request({
            url: `${prevUrl}save`,
            method: 'post',
            data: data
        })
    },
}

